const { request } = require("@/utils");

//用户登录接口
export function loginApi(formData) {
  return request({
    url: "/login/userLogin",
    method: "POST",
    data: formData,
  });
}

//用户信息查询接口
export function userInfoApi() {
  return request({
    url: "/login/getUserInfo",
    method: "GET",
  });
}
